// this sets the background color of the master UIView (when there are no windows/tab groups on it)
Titanium.UI.setBackgroundColor('#000');

var tab1 = Titanium.UI.createTab({  
    title: 'Client',
    window: Titanium.UI.createWindow({  
	    title: 'Client',
	    url: 'ui/client.js',
	    
	    backgroundColor: "#fff"
	})
});

var tab2 = Titanium.UI.createTab({  
    title: 'Server',
    window: Titanium.UI.createWindow({  
	    title: 'Server',
	    url: 'ui/server.js',
	    
	    backgroundColor: "#fff"
	})
});

var tabGroup = Titanium.UI.createTabGroup();

tabGroup.addTab(tab1);  
tabGroup.addTab(tab2);  

tabGroup.open();
